package com.course.service;

import com.course.mapper.Coursemapper;
import com.course.pojo.Course;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CourseService {

    @Autowired
    private Coursemapper coursemapper;

    public void addlist(Course course) {
        coursemapper.insert(course);
    }
}
